import request from "@/utils/request"


/**
 * @param {Inter} limit 
 * @returns Promise
 */
export const findBrand = (limit) => {
  return request('/home/brand', 'get', {
    limit
  })
}


/**
 * @returns Promise
 */
export const findBanner = () => {
  return request('/home/banner', 'get')
}

/**
 * 
 * @returns Promise
 */
export const findNew = () => {
  return request('home/new', 'get')
}

/**
 * 
 * @returns Promise
 */
export const findHot = () => {
  return request('home/hot', 'get')
}

/**
 * 
 * @returns Promise
 */
export const findGoods = () => {
  return request('home/goods', 'get')
}

/**
 * 
 * @returns Promise
 */
export const findSpecial = () => {
  return request('home/special', 'get')
}